package com.cn.sx;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;

import org.apache.commons.csv.CSVUtils;

import com.Ostermiller.util.CSVParser;

public class loritest {
	public static void main(String[] args){
		

		InputStream is;
		try{
			is=new FileInputStream("C:\\复件- (4) test\\DSBC_CASE-INCUSTOM_10A71G1G1_20110715.txt");
//			CSVParser parser=new CSVParser(is);
			InputStreamReader input = new InputStreamReader(is);
			BufferedReader reader = new BufferedReader(input);
			String a=reader.readLine();
			System.out.println(a);
			String[] result;
			result=CSVUtils.parseLine(a);
			for(String r:result){
				System.out.println("s:"+r);
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		
	}

}
